package com.example.shopping_web_back.service.impl;

import com.example.shopping_web_back.pojo.ReceivePlace;

import java.util.List;

public interface ReceivePlaceServiceImpl {

    //获取该顾客全部的收货地址的信息
    List<ReceivePlace> searchReceivePlace(String customerName);

    //查询是否有该收货地址
    ReceivePlace findReceivePlace(ReceivePlace receivePlace);

    //添加收货地址
    void addReceivePlace(ReceivePlace receivePlace);

    //更新收货地址
    void updateReceivePlace(Integer id, ReceivePlace newReceivePlace);

    //删除收货地址
    void deleteReceivePlace(ReceivePlace receivePlace);
}
